package com.cskaoyan.bean.market;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
public class Aftersale {
    private Integer id;

    private String aftersaleSn;

    private Integer orderId;

    private Integer userId;

    private Short type;

    private String reason;

    private BigDecimal amount;

    private String[] pictures;

    private String comment;

    private Short status;

    private Date handleTime;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

    public Aftersale(Integer id, String aftersaleSn, Integer orderId, Integer userId, Short type, String reason, BigDecimal amount, String[] pictures, String comment, Short status, Date handleTime, Date addTime, Date updateTime, Boolean deleted) {
        this.id = id;
        this.aftersaleSn = aftersaleSn;
        this.orderId = orderId;
        this.userId = userId;
        this.type = type;
        this.reason = reason;
        this.amount = amount;
        this.pictures = pictures;
        this.comment = comment;
        this.status = status;
        this.handleTime = handleTime;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }
}